Repository navigation
Conversation
Merge the BASEFEE and GASPRICE *DiffPlaces ports into one test parametrized on opcode x action. The Yul dispatcher, which embedded all contract addresses as literals behind constant jumps, is replaced by per-action checker code built in Python and deployed at generated addresses. Relays return the callee output; a failed call leaves the goat value or zero in place and fails the storage check. - Drop the non-default environment: BASEFEE is checked against the framework base fee, GASPRICE against the explicit tx gas price. - The after-failure actions store both reads (slots 0 and 1) instead of comparing in bytecode; the reverting and out-of-gas contracts are still asserted unchanged. - The 1024-deep recursion case moves to its own Prague-capped test with a high block gas limit. - No pre_alloc_mutable marker remains in either test. Also drop the leftover boilerplate (fixed addresses, empty tx data, explicit nonces and env) from the other stEIP1559 ports. Removed: - tests/ported_static/stEIP1559/test_base_fee_diff_places_osaka.py - tests/ported_static/stEIP1559/test_gas_price_diff_places_osaka.py - tests/ported_static/stEIP1559/test_base_fee_diff_places.py - tests/ported_static/stEIP1559/test_gas_price_diff_places.py
Merge the 42 stWalletTest ports into four parametrized tests sharing one module with the compiled contracts and the storage layout: - test_multi_owned.py: 16 multiOwned owner-management scenarios. - test_wallet.py: 14 Wallet scenarios (pending confirmations, execute, kill, default). - test_day_limit.py: 3 daylimit scenarios. - test_wallet_construction.py: multiOwned/daylimit/Wallet deployment, with enough gas and short of the code deposit. Owners, recipients and wallets now use generated addresses; owner index, pending and transaction slots are derived with keccak from them and from the execute calldata. No test keeps pre_alloc_mutable, the non-default environments, arbitrary gas limits and unobserved value transfers are dropped. The multiOwnedRemoveOwner contract is deployed from its runtime blob instead of a disassembly. Bugs fixed: - walletExecuteUnderDailyLimit stored the last-day marker in the spent-today slot, so 795364 had already been spent and the transfer was never under the 255 limit (it duplicated the over-limit case). The marker now sits in the last-day slot: the recipient receives 9 and spent-today becomes 9. Mutation: moving the marker back makes the case fail. - dayLimitResetSpentToday reset a spent-today slot that was already 0. It is now seeded with 5 and asserted reset. Mutation: expecting 5 after the call fails. - multiOwnedIsOwnerTrue/False never observed the isOwner result. A caller contract now stores the returned word and the return data size. Mutation: querying a non-owner in the true case fails. - walletDefault*, multiOwnedIsOwnerFalse kept the hardcoded owner index slot of 0xa94f... while the sender was generated; the slot is now derived from the actual owner. Construction: the OOG cases use the intrinsic cost plus the code deposit cost minus one instead of tuned budgets, and assert the created account is absent. The exact-budget success params of the OOG/partial files (gas tuned with oog_budget_lift) and the duplicate gas params of the success files are folded into the single success case. Unchanged-code, sender-nonce and fixed owner-account assertions are dropped. Removed: - tests/ported_static/stWalletTest/test_day_limit_construction.py - tests/ported_static/stWalletTest/test_day_limit_construction_oog.py - tests/ported_static/stWalletTest/test_day_limit_construction_partial.py - tests/ported_static/stWalletTest/test_day_limit_reset_spent_today.py - tests/ported_static/stWalletTest/test_day_limit_set_daily_limit.py - tests/ported_static/stWalletTest/test_day_limit_set_daily_limit_no_data.py - tests/ported_static/stWalletTest/test_multi_owned_add_owner.py - tests/ported_static/stWalletTest/test_multi_owned_add_owner_add_myself.py - tests/ported_static/stWalletTest/test_multi_owned_change_owner.py - tests/ported_static/stWalletTest/test_multi_owned_change_owner_from_not_owner.py - tests/ported_static/stWalletTest/test_multi_owned_change_owner_no_argument.py - tests/ported_static/stWalletTest/test_multi_owned_change_owner_to_is_owner.py - tests/ported_static/stWalletTest/test_multi_owned_change_requirement_to0.py - tests/ported_static/stWalletTest/test_multi_owned_change_requirement_to1.py - tests/ported_static/stWalletTest/test_multi_owned_change_requirement_to2.py - tests/ported_static/stWalletTest/test_multi_owned_construction_correct.py - tests/ported_static/stWalletTest/test_multi_owned_construction_not_enough_gas.py - tests/ported_static/stWalletTest/test_multi_owned_construction_not_enough_gas_partial.py - tests/ported_static/stWalletTest/test_multi_owned_is_owner_false.py - tests/ported_static/stWalletTest/test_multi_owned_is_owner_true.py - tests/ported_static/stWalletTest/test_multi_owned_remove_owner.py - tests/ported_static/stWalletTest/test_multi_owned_remove_owner_by_non_owner.py - tests/ported_static/stWalletTest/test_multi_owned_remove_owner_my_self.py - tests/ported_static/stWalletTest/test_multi_owned_remove_owner_owner_is_not_owner.py - tests/ported_static/stWalletTest/test_multi_owned_revoke_nothing.py - tests/ported_static/stWalletTest/test_wallet_add_owner_remove_pending_transaction.py - tests/ported_static/stWalletTest/test_wallet_change_owner_remove_pending_transaction.py - tests/ported_static/stWalletTest/test_wallet_change_requirement_remove_pending_transaction.py - tests/ported_static/stWalletTest/test_wallet_confirm.py - tests/ported_static/stWalletTest/test_wallet_construction_oog.py - tests/ported_static/stWalletTest/test_wallet_construction_partial.py - tests/ported_static/stWalletTest/test_wallet_default.py - tests/ported_static/stWalletTest/test_wallet_default_with_out_value.py - tests/ported_static/stWalletTest/test_wallet_execute_over_daily_limit_multi_owner.py - tests/ported_static/stWalletTest/test_wallet_execute_over_daily_limit_only_one_owner.py - tests/ported_static/stWalletTest/test_wallet_execute_over_daily_limit_only_one_owner_new.py - tests/ported_static/stWalletTest/test_wallet_execute_under_daily_limit.py - tests/ported_static/stWalletTest/test_wallet_kill.py - tests/ported_static/stWalletTest/test_wallet_kill_not_by_owner.py - tests/ported_static/stWalletTest/test_wallet_kill_to_wallet.py - tests/ported_static/stWalletTest/test_wallet_remove_owner_remove_pending_transaction.py
Merge the 22 sstore_<pattern> ports into test_sstore_transitions.py, parametrized on pattern x context (call, callcode, delegatecall, staticcall, create2) x revert x low gas, i.e. the full legacy matrix (440 cases). Target, refunder and created addresses are generated; the CREATE2 address is computed from the creating transaction. The CREATE2 init code is written to memory with MSTORE instead of CODECOPY from a literal offset, which depended on the refunder address push width. Calls forward all gas and the transaction uses the default gas limit; only the failing STATICCALL keeps a bound so the refunder still runs, and the low-gas rows keep their 400000 limit. Posts are derived from the pattern: final value in the called contract (CALL) or in the creating contract (CALLCODE/DELEGATECALL), unchanged target for STATICCALL and REVERT rows (newly asserted), final value and marker in the CREATE2 account, refunder marker set only when the transaction neither reverts nor runs low on gas. Bug fixed: sstore_0toX's CREATE2 init code stored 0 into slot 0 (copied from 0to0), so the CREATE2 case tested 0 -> 0. It now stores 1 and asserts it. Mutation: storing 0 again for 0to_x fails the case. The redundant leading 0 -> 0 store in sstore_0toXto0toX's init code is dropped by the same derivation. sstore_changeFromExternalCallInInitCode is rewritten as call op x context (direct, create2, create2 + revert, create2 + refunder) with generated addresses and computed frames, asserting the target and the executing frame in every case; the refunder now gets enough gas to finish and its marker is asserted. No file in the directory keeps pre_alloc_mutable or a non-default environment. Removed: - tests/ported_static/stSStoreTest/test_sstore_0to0.py - tests/ported_static/stSStoreTest/test_sstore_0to0to0.py - tests/ported_static/stSStoreTest/test_sstore_0to0to_x.py - tests/ported_static/stSStoreTest/test_sstore_0to_x.py - tests/ported_static/stSStoreTest/test_sstore_0to_xto0.py - tests/ported_static/stSStoreTest/test_sstore_0to_xto0to_x.py - tests/ported_static/stSStoreTest/test_sstore_0to_xto_x.py - tests/ported_static/stSStoreTest/test_sstore_0to_xto_y.py - tests/ported_static/stSStoreTest/test_sstore_xto0.py - tests/ported_static/stSStoreTest/test_sstore_xto0to0.py - tests/ported_static/stSStoreTest/test_sstore_xto0to_x.py - tests/ported_static/stSStoreTest/test_sstore_xto0to_xto0.py - tests/ported_static/stSStoreTest/test_sstore_xto0to_y.py - tests/ported_static/stSStoreTest/test_sstore_xto_x.py - tests/ported_static/stSStoreTest/test_sstore_xto_xto0.py - tests/ported_static/stSStoreTest/test_sstore_xto_xto_x.py - tests/ported_static/stSStoreTest/test_sstore_xto_xto_y.py - tests/ported_static/stSStoreTest/test_sstore_xto_y.py - tests/ported_static/stSStoreTest/test_sstore_xto_yto0.py - tests/ported_static/stSStoreTest/test_sstore_xto_yto_x.py - tests/ported_static/stSStoreTest/test_sstore_xto_yto_y.py - tests/ported_static/stSStoreTest/test_sstore_xto_yto_z.py
…sion Merge the four transactionCollidingWithNonEmptyAccount_* ports into test_transaction_from_account_with_code.py, parametrized on the destination (contract, self, EOA, creation). The sender keeps code via fund_eoa(code=...), so the file keeps pre_alloc_mutable; the fixed key, the pre-set coinbase and the fixed EOA address are dropped together with the non-default environment and the gas limit. The init_Paris initcode variants are folded into one creation case: the transaction is rejected before any initcode runs. test_init_colliding_with_non_empty_account.py keeps pre_alloc_mutable (the collider must sit at the sender's creation address with nonce 0) but the collider address is now computed from a generated sender, the callee is deployed normally and the coinbase/environment are dropped. The five initcode variants never run (the collision happens first), so they are combined into one initcode that stores, calls with value, delegatecalls, CREATE2s and CREATEs; the post still asserts the collider unchanged, the callee unpaid, both would-be created addresses absent and the full gas limit used. Removed: - tests/ported_static/stEIP3607/test_transaction_colliding_with_non_empty_account_calls.py - tests/ported_static/stEIP3607/test_transaction_colliding_with_non_empty_account_calls_itself.py - tests/ported_static/stEIP3607/test_transaction_colliding_with_non_empty_account_init_paris.py - tests/ported_static/stEIP3607/test_transaction_colliding_with_non_empty_account_send_paris.py
Merge CALL_OneVCallSuicide, CALL_OneVCallSuicide2 and CALL_ZeroVCallSuicide into test_call_v_call_suicide.py, parametrized on the call value and the beneficiary (caller or another alive account), keeping the measured gas per case. The mutual references between caller and self-destructing contract are replaced by SELFDESTRUCT(CALLER), with the callee deployed first, so all addresses are generated and pre_alloc_mutable is dropped. CALLER costs 2 gas against PUSH20's 3, so the measured values move 14337 -> 14336 and 7637 -> 7636. The fixed beneficiary of OneVCallSuicide2 (an existing nonce-1 account) is now a deployed contract, which keeps it alive and cold, so 16937 is unchanged. The non-default environment and the transaction gas limits are dropped. Removed: - tests/ported_static/stEIP158Specific/test_call_one_v_call_suicide.py - tests/ported_static/stEIP158Specific/test_call_one_v_call_suicide2.py - tests/ported_static/stEIP158Specific/test_call_zero_v_call_suicide.py
…tests Both warm-coinbase tests reach the coinbase through Op.COINBASE only, so the fixed coinbase address, its pre-allocation and the non-default environment are dropped together with pre_alloc_mutable. The coinbase no longer exists before the calls; every call to it transfers zero value, so no new-account charge appears and the measured gas is unchanged.
Merge coinbaseT01 and coinbaseT2 into test_coinbase_access_list.py, parametrized on transaction type and access list (none, coinbase, another address), ids matching the legacy ones. The coinbase is a generated, funded account set as the block fee recipient: the test reads the block coinbase, so the environment stays, but the fixed address, its pre-allocation and pre_alloc_mutable go. The coinbase still exists before the value CALL, so the measured 6800 (+ the EIP-8038 CALL_VALUE delta) is unchanged. Mutation: making the sender the fee recipient fails the three cases without the coinbase in the access list. test_storage_costs.py: the dispatcher called ADD(0x1000, calldata); it now calls the address passed in calldata, so all measured contracts use generated addresses and the no-target cases call pre.nonexistent_account(). The never-allocated access-list addresses stay literal. The non-default environment, the fixed nonces and the EIP-8037 gas-limit bump are dropped; the transaction sets state_gas_reservoir=0 so state gas keeps spilling into the measured regular gas as before. Duplicate parameter ids get suffixes naming the access-list variant (_otherKey, _otherAddress, _noAccessList, _otherKeys, _manyEntries). pre_alloc_mutable is dropped. Removed: - tests/ported_static/stEIP2930/test_coinbase_t01.py - tests/ported_static/stEIP2930/test_coinbase_t2.py
…context Deploy every contract of test_varied_context.py at a generated address and drop pre_alloc_mutable: - the dispatcher calls the address passed in calldata instead of ADD(0x1000, calldata); - callers reference their callees' variables instead of literals (0xC057, 0xEAD0C057, 0xDEAD0111/2, 0xF113-0xF115, 0xF126); - the recursing contract calls Op.ADDRESS; its constant JUMP/JUMPI (pc 0x9B/0xB4), which sat after the self-address push, is rebuilt with Conditional. The CALL is outside the measured windows, so no measured value moves; - the CREATE/CREATE2 addresses that appear in access lists and posts are computed from the creator (nonce 1 for CREATE, the init code the creator copies from its own code for CREATE2) instead of literals derived from the old fixed addresses and nonce 0. The fixed sender key, the non-default environment and the transaction gas limit are dropped; the transaction sets state_gas_reservoir=0 so state gas keeps spilling into the measured regular gas.
test_sender_balance.py and test_transaction_intinsic_bug_paris.py set base fees of 11 and 20 only to give the effective gas price a value; both now read the framework's default base fee instead, so they share the default environment. The intrinsic-bug sender balance is derived as gas_limit * (base_fee + priority_fee) + value, i.e. exactly enough for the effective price but not for the max fee, which was the legacy 0x2FAF094 at base fee 20.
Drop deploy_contract(nonce=1) and Transaction(data=Bytes("")), which
are the defaults.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/bogota #4004 +/- ##
=============================================
Coverage 95.10% 95.10%
=============================================
Files 673 673
Lines 40904 40904
Branches 3778 3778
=============================================
Hits 38903 38903
Misses 1393 1393
Partials 608 608
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
spencer-tb
left a comment
There was a problem hiding this comment.
LGTM! AI Swarm Review, 3x rotation of 10 fresh agents, findings re-checked by fills, traces and spec mutants, small things inline :)
The 5 dropped @manually-enhanced tags were gas workarounds that max gas makes obsolete, but can we add a tag to the rewritten files?
Checked: the derived wallet slots against the old constants, a non-owner-sender mutation of test_multi_owned, a reverting-wallet mutation (four no-op cases pass at the PR head and fail with the value fix), a full-range fill, and spec mutants of try/catch rules against base.
There was a problem hiding this comment.
Looks good to me. No test case is lost and the four fixes (sstore_0toX CREATE2, wallet under daily limit, day limit reset, isOwner result) are correct. Two calls that now forward all gas are worth bounding again, and the rest is clean-up.
No case dropped: on Cancun the 710 old cases map to 696 new ones, and the 14 gone are the stated wallet construction and stEIP3607 merges. Traced 268 base and PR pairs on Cancun and 161 on Bogota: every difference is a stated fix or change (default base fee, after-failure slot 1, CALLER instead of PUSH20, relocated slots).
My agent ran the same checks as described in the #3997 review.
Inline: two calls that now forward all gas and burn the whole transaction gas (Normal), the wallet construction out-of-gas budget and docstring (Minor), and a question on the stEIP158 beneficiary.
Area: readability
Priority: Normal
12 modified files still carry legacy # Source: blocks, and in stEIP2930/test_varied_context.py and test_storage_costs.py they describe code that is gone: they quote the removed literals (0xC057, 0xDEAD0111/2, 0xF113 to 0xF126) and the old (+ 0x1000 $4) dispatcher. I would drop those, and the redundant yul blocks in stEIP1559 and stEIP3651 in the same pass. See inline on test_varied_context.py line 918 and test_storage_costs.py line 594.
Counts and files
Touched files, base vs head: # Source: blocks 224 to 52, legacy comment lines 1,379 to 675, raw hex code sites 64 to 0. Files with legacy blocks: 12 of 25 at head, none of them newly added.
stEIP2930/test_varied_context.py: 27 lll blocks (lines 289, 918, 935, 953, 973, 995, 1021, 1049, 1072, 1108, 1126-1127, 1155-1156 quote removed literals)stEIP2930/test_storage_costs.py: 11 lll blocks (line 567 quotes the old dispatcher)stEIP3651_warmcoinbase/test_coinbase_warm_account_call_gas_fail.py: 5 yul blocks,test_coinbase_warm_account_call_gas.py: 1, both naming<contract:...>tags the code no longer usesstEIP1559/test_low_fee_cap.py,test_low_gas_limit.py,test_low_gas_price_old_types.py,test_out_of_funds.py,test_out_of_funds_old_types.py,test_sender_balance.py,test_tip_too_high.py,test_val_causes_oof.py: 1 yul block each, matching the code
Area: cleanup
Priority: Minor
A few things of the same kind as this PR were left in the touched directories. stEIP1559/test_out_of_funds.py and test_out_of_funds_old_types.py only differ in the transaction type, and so do test_low_fee_cap.py and test_low_gas_price_old_types.py; each pair could be one test over the type, like test_coinbase_access_list. The rest is listed below and could be a follow-up PR.
Full list
stEIP1559/test_tip_too_high.pycould join the fee-cap test.stEIP158Specific/test_extcodesize_to_epmty_paris.pyandtest_extcodesize_to_non_existent.py(untouched) differ only in the target account and expected gas.- Non-default base fee only used as a price:
stEIP1559/test_tip_too_high.py:44,test_out_of_funds.py:118,test_out_of_funds_old_types.py:146,test_val_causes_oof.py:190, and the base fee (not the gas limit) intest_low_gas_limit.py:147. access_list=[]on type 2 transactions, which is the default:test_low_fee_cap.py:51,test_tip_too_high.py:54,test_transaction_intinsic_bug_paris.py:51, and the type-2-only entries intest_out_of_funds.py,test_low_gas_limit.py,test_val_causes_oof.py.data=Bytes("")in untouched files:stEIP158Specific/test_extcodesize_to_epmty_paris.py:74,test_extcodesize_to_non_existent.py:76,test_call_to_empty_then_call_error_paris.py:68,stSStoreTest/test_sstore_call_to_self_sub_refund_below_zero.py:57.- Hard-coded nonexistent address
0xC94F...instEIP158Specific/test_extcodesize_to_non_existent.py:66,81-83(could bepre.nonexistent_account()). stEIP2930/test_storage_costs.py:1123keepsAddress(0xCCCC...CC000000), which only made sense next to the old pinned0xCCCC...CCCCtarget.stEIP158Specific/test_vitalik_transaction_test_paris.py(untouched) keepspre_alloc_mutable, a fixed key, a nonce 335 sender and pinned addresses inside the initcode.- Duplicate ids like the ones fixed in
test_storage_costs:stEIP2930/test_transaction_costs.py(addrs_1_keys_1three times,addrs_2_keys_2three times,addrs_1_keys_2twice) andtest_address_opcodes.py(valid/invalid).
Give the INVALID call in diff_places 25000 gas, as the legacy filler did, and bound the STATICCALL in the init-code SSTORE test like sstore_transitions does.
The no-op multiOwned and Wallet cases now send 100 wei and check the wallet balance, so a reverting wallet fails them. Drop the unread spent-today value from the default and kill cases.
The base fee, coinbase, address zero, block number and timestamp of the test env do not hold on a live network.
The lll blocks in stEIP2930 still quoted the removed fixed addresses and dispatcher; the yul blocks in stEIP1559 and stEIP3651 repeated the code.
Parametrize over the transaction type, price the low fee cap from the default base fee and check the sender nonce in the out-of-funds cases.
Remove empty access lists from type 2 transactions, the base fee env where it only served as a price, and the pinned other-address access list entries in storage_costs.
CALL_OneVCallSuicide2 sent to an account alive only through its nonce. Keep the contract beneficiary as a separate case that runs in execute.
danceratopz
left a comment
There was a problem hiding this comment.
Thanks for the fixes since the last review, Mario!
I asked my agent to re-check the new head (case mapping, fixture comparison, traces) and no case was dropped. The method is the same as in the #3997 review.
Comments inline.
- The untouched-file items from the last review's list (the stEIP158Specific extcodesize pair,
data=Bytes(""), the hard-coded0xC94F...address, the vitalik test, and the duplicate ids instEIP2930/test_transaction_costs.pyandtest_address_opcodes.py) are still open, happy for those to be a follow-up PR.
| @@ -25,31 +26,31 @@ | |||
| ) | |||
| @pytest.mark.valid_from("Cancun") | |||
There was a problem hiding this comment.
Small one in the same spirit as the execute skips: test_sender_balance, test_transaction_intinsic_bug_paris (this one), test_low_gas_limit and test_val_causes_oof also rely on the test env (the default base fee and the 80000 block gas limit), so they would fail or test something else on a live network. Three of them were skipped in execute through pre_alloc_mutable before this PR. Maybe add the same marker there?
Details
sender_balance stores sender_balance - gas_limit * (base_fee + 100) with the env base fee, intinsic_bug funds the sender for base_fee + 20, low_gas_limit expects transactions above 80000 gas to be rejected by the block gas limit, and val_causes_oof uses a 1000 wei fee cap. I asked my agent to add pytest.mark.execute(pytest.mark.skip(...)) to the four files and fill them from their first fork to Bogota: all 93 cases pass.
diff --git a/tests/ported_static/stEIP1559/test_low_gas_limit.py b/tests/ported_static/stEIP1559/test_low_gas_limit.py
index 60530cb1dd..3457d16430 100644
--- a/tests/ported_static/stEIP1559/test_low_gas_limit.py
+++ b/tests/ported_static/stEIP1559/test_low_gas_limit.py
@@ -39,6 +39,9 @@ REFERENCE_SPEC_VERSION = "N/A"
["state_tests/stEIP1559/lowGasLimitFiller.yml"],
)
@pytest.mark.valid_from("Cancun")
+@pytest.mark.execute(
+ pytest.mark.skip(reason="Expects the block gas limit of the test env")
+)
@pytest.mark.parametrize(
"d, g, v",
[
diff --git a/tests/ported_static/stEIP1559/test_sender_balance.py b/tests/ported_static/stEIP1559/test_sender_balance.py
index 5f74cca55d..72abe75571 100644
--- a/tests/ported_static/stEIP1559/test_sender_balance.py
+++ b/tests/ported_static/stEIP1559/test_sender_balance.py
@@ -28,6 +28,9 @@ REFERENCE_SPEC_VERSION = "N/A"
["state_tests/stEIP1559/senderBalanceFiller.yml"],
)
@pytest.mark.valid_from("London")
+@pytest.mark.execute(
+ pytest.mark.skip(reason="Expects the base fee of the test env")
+)
def test_sender_balance(
state_test: StateTestFiller,
pre: Alloc,
diff --git a/tests/ported_static/stEIP1559/test_transaction_intinsic_bug_paris.py b/tests/ported_static/stEIP1559/test_transaction_intinsic_bug_paris.py
index 2951d46e41..dd5e3b8bcb 100644
--- a/tests/ported_static/stEIP1559/test_transaction_intinsic_bug_paris.py
+++ b/tests/ported_static/stEIP1559/test_transaction_intinsic_bug_paris.py
@@ -25,6 +25,9 @@ REFERENCE_SPEC_VERSION = "N/A"
["state_tests/stEIP1559/transactionIntinsicBug_ParisFiller.yml"],
)
@pytest.mark.valid_from("Cancun")
+@pytest.mark.execute(
+ pytest.mark.skip(reason="Expects the base fee of the test env")
+)
@pytest.mark.exception_test
def test_transaction_intinsic_bug_paris(
state_test: StateTestFiller,
diff --git a/tests/ported_static/stEIP1559/test_val_causes_oof.py b/tests/ported_static/stEIP1559/test_val_causes_oof.py
index 000820643e..5389e24ffd 100644
--- a/tests/ported_static/stEIP1559/test_val_causes_oof.py
+++ b/tests/ported_static/stEIP1559/test_val_causes_oof.py
@@ -29,6 +29,9 @@ REFERENCE_SPEC_VERSION = "N/A"
["state_tests/stEIP1559/valCausesOOFFiller.yml"],
)
@pytest.mark.valid_from("Cancun")
+@pytest.mark.execute(
+ pytest.mark.skip(reason="Expects the base fee of the test env")
+)
@pytest.mark.parametrize(
"d, g, v",
[| @pytest.mark.valid_from("Cancun") | ||
| @pytest.mark.exception_test | ||
| @pytest.mark.pre_alloc_mutable | ||
| def test_tip_too_high( |
There was a problem hiding this comment.
Left from the clean-up list in the last review: test_tip_too_high could join the fee-cap test (test_low_fee_cap), like the type pairs you merged in 98e6553. Optional, fine as a follow-up.
Description
Warning
This PR was AI-produced. I need to manually review it before marking it ready for review.
Part of finalizing the
tests/ported_static/port: cleanup to reduce pre-alloc groups and removepre_alloc_mutablewhere not needed. Files are disjoint from the otherfinalize-ported-static-*PRs, so each can be reviewed and merged independently.stWalletTestinto 4 files andstSStoreTesttransitions into parametrized tests; fix vacuous wallet cases and thesstore_0toXCREATE2 case.stEIP1559,stEIP158Specific,stEIP2930,stEIP3607andstEIP3651_warmcoinbase.pre_alloc_mutable, pinned addresses, non-default base fee/coinbase and default kwargs, threading generated addresses through where needed.Filled on all forks through Bogota.
Related Issues or PRs
N/A.
Checklist
just static<type>(<area>): <description>, where<type>and<area>come from an appropriateC-<type>, respectivelyA-<area>, label. The title should match the target squash commit message.Cute Animal Picture